import layoutHeaderAside from '@/layout/header-aside'

const meta = { auth: false }

export default {
    path: '/system',
    name: 'system',
    meta,
    redirect: { name: 'system-cache' },
    component: layoutHeaderAside,
    children: (pre => [
        {
            path: 'cache',
            name: `${pre}cache`,
            component: () => import('@/pages/system/cache'),
            meta: { ...meta, title: '系统缓存管理' }
        }
    ])('system-')
}
